﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Create.Master" Inherits="System.Web.Mvc.ViewPage<DAL.SysMessage>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    消息
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        消息</h2>
    <fieldset>
        <legend>
            <input type="submit" value="创建" />
            <input type="button" onclick="BackList('SysMessage')" value="返回列表" />
        </legend>
        <div class="bigdiv">
            <div class="editor-label">
                <%: Html.LabelFor(model => model.BiaoTi) %>
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.BiaoTi) %>
                <%: Html.ValidationMessageFor(model => model.BiaoTi) %>
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.LeiXing) %>
            </div>
            <div class="editor-field">
                <%=Html.DropDownListFor(model => model.LeiXing,App.Models.SysFieldsDDL.GetSysFields("SysMessage","LeiXing"),"请选择")%>
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Message) %>
            </div>
            <div class="editor-field">
                <%: Html.TextAreaFor(model => model.Message) %>
                <%: Html.ValidationMessageFor(model => model.Message) %>
            </div>
            <div class="editor-label">
                <%: Html.LabelFor(model => model.TipTime) %>
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.TipTime) %>
                <%: Html.ValidationMessageFor(model => model.TipTime) %>
            </div>
        </div>
    </fieldset>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    <script type='text/javascript'>
        $(function () {

            $('#TipTime').datepicker();

        });
    </script>
</asp:Content>
